package com.sunpy.niohttp.model;

import java.util.ArrayList;
import java.util.List;

/**
 * 方法的映射关系
 */
public class MethodMapping {

    /**
     * 方法基本信息
     */
    private MethodInfo methodInfo;

    /**
     * 方法对应的http信息
     */
    private HttpInfo httpInfo;

    public MethodInfo getMethodInfo() {
        return methodInfo;
    }

    public void setMethodInfo(MethodInfo methodInfo) {
        this.methodInfo = methodInfo;
    }

    public HttpInfo getHttpInfo() {
        return httpInfo;
    }

    public void setHttpInfo(HttpInfo httpInfo) {
        this.httpInfo = httpInfo;
    }

    @Override
    public String toString() {
        return "MethodMapping{" +
                "methodInfo=" + methodInfo +
                ", httpInfo=" + httpInfo +
                '}';
    }
}
